#include <iostream>
using namespace std;

int main() {
    int n;
    cin >> n;
    int min_apple = 0;
    for (int i = 1; i <= n; i++)
    {
        min_apple += i;
    }
    cout << min_apple;
    
    return 0;
}